<template>
  <div class="login">
    <login-panel ref="loginPanelRef"></login-panel>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import loginPanel from '@/views/login/components/loginPanel.vue'
const loginPanelRef = ref<InstanceType<typeof loginPanel>>() //将loginPanel作为泛型使用instanceType去推断
</script>

<style lang="less" scoped>
.login {
  width: 100%;
  height: 100%;
  background-image: url(@/assets/login/login-bg.svg);
  background-size: 100% 100%;
}
</style>
